/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package asset.load;

import asset.MeshSet;
import asset.Rig;
import asset.Skel;

/**
 *
 * @author
 */
public class LoadRig {

    public static Rig load(String skelFile, String meshSetFile) throws Exception {
        Skel skel = LoadSkel.load(skelFile);
        MeshSet meshSet = LoadMeshSet.load(skel, meshSetFile);

        return new Rig(skel, meshSet);
    }
}
